package main

import (
	"ecommerce-customer-support-chat/api"
	"ecommerce-customer-support-chat/config"
	"ecommerce-customer-support-chat/inits"
	"github.com/gin-gonic/gin"
)

func main() {
	config.InitViper()
	inits.InitMysql()
	inits.InitRedis()
	router := gin.Default()
	api.LoadRoutes(router)
	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
